package com.ccdt.tv.roundprogram.http;


import com.ccdt.tv.roundprogram.bean.ChannelRoot;
import com.ccdt.tv.roundprogram.bean.PlayInfo;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

public interface ApiService {

    @POST(Config.ACTION_GET_CHANNELS)
    Observable<ChannelRoot> getChannels(@Body RequestBody xml);

    @POST(Config.ACTION_VIRTUAL_CHANNEL_SELECTION)
    Observable<PlayInfo> getPlayUrl(@Body RequestBody xml);
}

